/*
  品牌分页列表的响应数据
  {
    "records": [
      {
        "id": 1,
        "tmName": "小米",
        "logoUrl": "http://47.93.148.192:8080/group1/M00/03/D9/rBHu8mHmKC6AQ-j2AAAb72A3EO0942.jpg"
      }
    ],
    "total": 58,
    "size": 1,
    "current": 1,
    "searchCount": true,
    "pages": 58
  }
*/
export interface TrademarkItem {
  id: number;
  tmName: string;
  logoUrl: string;
}
export type TrademarkList = TrademarkItem[];
export interface GetTrademarkListResponse {
  records: TrademarkList;
  total: number;
  size: number;
  current: number;
  searchCount: boolean;
  pages: number;
}

/*
添加spu组件中获取所有品牌列表响应结果
[
    {
      "id": 10945,
      "tmName": "mess4",
      "logoUrl": "http://139.198.127.41:9000/sph/20221222/微信图片_20220324102845.jpg"
    }
  ]
*/

export interface GetAllTrademarkItem {
  id: number;
  tmName: string;
  logoUrl: string;
}
export type GetAllTrademarkList = GetAllTrademarkItem[];
